﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/SiteTemplate.Master" AutoEventWireup="True" CodeBehind="Tag.aspx.cs" Inherits="LoveMusic.StoryListByTagView"%>
<%@ Register src="../Shared/StoryListView.ascx" tagname="StoryListView" tagprefix="uc" %>
<%@ Import Namespace="LoveMusic" %>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
 <% var viewData = (StoryListByTagData)ViewData.Model; %>
      <title>Browse by Tag : <%= Server.HtmlEncode(viewData.Tag)  %> - Listen free on Ilovethismusic.com</title>     
      <meta name="description" content="Recommend Music Like - Browse by Tag : <%= Server.HtmlEncode(viewData.Tag) %>" />   
      <meta name="keywords" content="<%= Server.HtmlEncode(viewData.Tag) %>,Recommend,new,music,user,groovy" /> 
</asp:Content> 
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <% var viewData = (StoryListByTagData)ViewData.Model; %>
    <div class="pageTitle">
        Browse by Tag : <%= Server.HtmlEncode(viewData.Tag) %>
    </div>
    <% if ((viewData.Stories != null) && (viewData.Stories.Length > 0)) %>
    <%{%>
        <uc:StoryListView runat="server"></uc:StoryListView>
    <%}%>
    <%else%>
    <%{%>
        <span class="pageMessage">No story exists with this tag.</span>
    <%}%>
</asp:Content>